package wiki.liven.pojo.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by qiangjun on 2017/3/2.
 * 点播记录，简略，但是记录了从项目开始到至今的数据，推荐查询在2015年4月22日之前，使用该类
 * 数据从项目上线之日开始
 */
@TableName(value = "historymovice")
public class HistoryData extends Model<HistoryData> {

    @TableId
    private String hisId;
    private String mac;
    @TableField(value = "mr_id")
    private String mrId;
    private Date timePoint;

    public String getHisId() {
        return hisId;
    }

    public void setHisId(String hisId) {
        this.hisId = hisId;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getMrId() {
        return mrId;
    }

    public void setMrId(String mrId) {
        this.mrId = mrId;
    }

    public Date getTimePoint() {
        return timePoint;
    }

    public void setTimePoint(Date timePoint) {
        this.timePoint = timePoint;
    }

    @Override
    protected Serializable pkVal() {
        return this.hisId;
    }
}
